package com.web.service.category;

import com.web.bean.category.Category;
import com.web.bean.novel.Novel;

import java.util.List;

/**
 * @autor Chen
 * @create 2021--25-9:19
 * @desc
 */
public interface CategoryService {
    List<Category> selectCategory() throws Exception;
    Category selectByCode(String code) throws Exception;
    void addCategory(Category category) throws Exception;
    void deleteCategory(String code) throws Exception;
}
